package com.api.shopapi.service.impl;


import com.api.shopapi.entity.SendMessageItem;
import com.api.shopapi.mapper.SendMessageItemMapper;
import com.api.shopapi.service.SendMessageItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("SendMessageItemServiceImplOne")
public class SendMessageItemServiceImpl implements SendMessageItemService {

    @Autowired
    private SendMessageItemMapper sendMessageItemMapper;

    @Override
    public int insert(SendMessageItem sendMessageItem){
        return sendMessageItemMapper.insert(sendMessageItem);
    }

    @Override
    public SendMessageItem getBySendMessageItemCode(String sendMessageItemCode){
        return sendMessageItemMapper.getBySendMessageItemCode(sendMessageItemCode);
    }



}
